package NGUYENTIENDAT;

public class Ex2 {
	public static void main(String[] args) {
//		double a= 20.5;
//		double b = 30.5;
//		
//		System.out.println("KQ a+ b: "+(a+b));
//		System.out.println("KQ a+ b: "+(a-b));
//		System.out.println("KQ a+ b: "+(a*b));
//		System.out.println("KQ a+ b: "+(a/b));
		
		double d=9;
		System.out.println("Căn: "+Math.sqrt(d));
		
		double a=4;
		double b=6;
		double c= 3;
		
		int denta;
		denta=(int) (b*b-4*a*c);
		
		double x1;
		double x2;
		if(denta<0){
			System.out.println("PT vo nghiệm");
		}if (denta==0){
			
		}
	}

}

